package cn.yusei.teamTribe.constant;

import java.lang.reflect.Field;

public class PostTagType {

	public static final int INFORM_POST = 1;
	
	public static final int ACTIVITY_POST = 2;  //活动记录帖
	
	private static Field[] fields = PostTagType.class.getFields();
	
	public static boolean isPostTagType(int postTagType)
	{
		try
		{
			for(Field field : fields)
			{
				if(field.getInt(PostTagType.class) == postTagType)
					return true;
			}
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}
		return false;
	}
}
